﻿//using Microsoft.AspNetCore.Mvc;

//namespace MinioStorage.Controllers
//{
//    [ApiController]
//    [Route("[controller]")]
//    public class FileManagerController : Controller
//    {
//        public IMinIOService _minIOService { get; set; }
//        public FileManagerController(IMinIOService minIOService)
//        {
//            this._minIOService = minIOService;
//        }

//        [Route("UploadImg")]
//        /// <summary>
//        /// 上传图片
//        /// </summary>
//        /// <returns></returns>
//        [HttpPost]
//        public async Task<Result<FileModel>> UploadImg(FormFileCollection file)
//        {
//            return await _minIOService.UploadImageAsync(file);
//        }
//    } 
//}
